package com.oneday.ashop.core.entity.book;

import com.oneday.ashop.core.entity.IncIdEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 图书关注
 * User:bob.yang
 * Date 2015/9/1 0001
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class BookAttention extends IncIdEntity<Integer>{
    /**
     * 想看
     */
    public static final Integer TYPE_WANNER_SEE = 0;
    /**
     * 已看
     */
    public static final Integer TYPE_HAVE_SAW = 1;
    /**
     * 用户号
     */
    private Integer uid;
    /**
     * 图书号
     */
    private Integer bid;
    /**
     * 类型
     */
    private Integer type;
    /**
     * 添加时间
     */
    private Date addTime;

}
